package main

import (
	"fmt"
)

//空接口，任何类型都

func describe(i interface{}){				//或者 func describe(c interface{Say()}){
	fmt.Printf("Interface 类型：%T，值：%v\n", i, i)
}


func main(){

	a := 10
	b := "hehe"
	c := struct{Name string}{
		"lynzhang",
	}
	describe(a)
	describe(b)
	describe(c)
}